Add authentication, roles, dashboard and access control
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
$hash1 = '$2y$10$nFJFuwzpHgTOgkMimoOaEOhdGvDg5LaO5aycHlKRKxRbeSYEL.lLS';
|
||||
$hash2 = '$2y$10$xFvFSy4mVkLznYgORN/vb.UDlrFrUlQ4wgXm08vRxN54of9LDGlEW';
|
||||
|
||||
$words = ['admin', 'operator', '123456', 'password', '12345', 'admin123', 'operator123'];
|
||||
|
||||
foreach ($words as $w) {
|
||||
if (password_verify($w, $hash1)) echo "admin password is: $w\n";
|
||||
if (password_verify($w, $hash2)) echo "operator password is: $w\n";
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user