mirror of
https://github.com/CachetHQ/Cachet.git
synced 2025-01-17 21:49:01 +01:00
Don't save passwords in plaintext
This commit is contained in:
parent
ad115bc915
commit
66ddd7bd04
@ -26,7 +26,7 @@
|
||||
$user = new User;
|
||||
$user->username = $userDetails['name'];
|
||||
$user->email = $userDetails['email'];
|
||||
$user->password = $userDetails['password'];
|
||||
$user->password = Hash::make($userDetails['password']);
|
||||
$user->save();
|
||||
|
||||
Auth::login($user);
|
||||
|
Loading…
x
Reference in New Issue
Block a user