disable password? or login with laravel bcrypt?

disable password? or login with laravel bcrypt?

by ahmet b -
Number of replies: 2

We have an external db and user passwords are with laravel bcrypt.

is there any solution to be able to keep the these passwords on moodle?

or

is there any way to disable the password option for the login and the registered users just use their login username or email to login?

thank you

Average of ratings: -
In reply to ahmet b

Re: disable password? or login with laravel bcrypt?

by Leon Stringer -
Picture of Core developers Picture of Particularly helpful Moodlers

This reply suggests how you could add a new password format to External Database authentication. Presumably you could add some PHP to perform the bcypt compare. The drawback is that modifying Moodle's core source code may make your site more difficult to update and support (see the caveats in that reply).

In reply to Leon Stringer

Re: disable password? or login with laravel bcrypt?

by ahmet b -
thank you for your reply. I'll try.