summaryrefslogtreecommitdiffstats
path: root/application/views/user/hash_password.php
blob: a0aa88ce582f7694e76c0047a4358550bf4b372e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?php
if (!empty($error)) {
	echo "<p>";
	echo implode("<br />\n", $error);
	echo "</p>";
}

if ($hash) {
	echo "<p>Result (this hash uses a random salt, so it will be different each time you submit this form):<br />$hash</p>\n";
}
?>
<?php echo form_open('user/hash_password'); ?>
	<table>
		<tr>
			<td>Password</td>
			<td> <input type="password" name="password" /></td>
		</tr><tr>
			<td>Confirm password</td>
			<td> <input type="password" name="password_confirm" /></td>
		</tr><tr>
			<td></td>
			<td><input type="submit" value="Hash it" name="process" /></td>
		</tr>
	</table>
</form>