You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 24, 2023. It is now read-only.
One of the features of this awesome plugin is that it allows a graceful fallback to local database of authentication in cases when Active Directory is unavailable. In order to accomplish that, the encrypted password is stored in the local database. This is the case even when this feature is turned off.
It would be preferable not to store passwords in the local database at all, so I propose that a flag be added in the configuration which would not sync the password field to the local database.
I believe the change would be in the file, "src/Traits/ImportsUsers.php" to skip the line 55.
// Sync the users password. $model = $this->syncModelPassword($model, $password);
The text was updated successfully, but these errors were encountered:
Hi @mateenmoosa, I definitely agree that this should be configurable. Though there are some considerations we should think about.
For example, by default laravel's users table migration includes a non-nullable password field. In this case, should the password be filled with a bcrypt()'ed random string?
This is actually the case with the WindowsAuthenticate middleware at the moment.
Uh oh!
There was an error while loading. Please reload this page.
One of the features of this awesome plugin is that it allows a graceful fallback to local database of authentication in cases when Active Directory is unavailable. In order to accomplish that, the encrypted password is stored in the local database. This is the case even when this feature is turned off.
It would be preferable not to store passwords in the local database at all, so I propose that a flag be added in the configuration which would not sync the password field to the local database.
I believe the change would be in the file, "src/Traits/ImportsUsers.php" to skip the line 55.
// Sync the users password.
$model = $this->syncModelPassword($model, $password);
The text was updated successfully, but these errors were encountered: