greatbit / quack

Web Based Test Management System
Apache License 2.0
116 stars 34 forks source link

Can't log in as a new user #235

Open mpelley opened 1 year ago

mpelley commented 1 year ago

I am using version 1.21. I am logged in as "root" and created two users. I logged out and tried to log in as one of the users. I get an error "login and password should match".

azee commented 1 year ago

@mpelley Same as here - https://github.com/greatbit/quack/issues/236 - please clarify what is set up in your properties as AUTH and Session providers https://github.com/greatbit/quack/blob/master/api/src/main/resources/quack.properties#L13-L14

mpelley commented 1 year ago

I am using the docker container that I downloaded from GitHub without any changes. So whatever authentication you set up in that is what is being used. Lines 13-14 of quack.properties are:

whoru.auth.provider=ru.greatbit.whoru.auth.providers.StubAuthProvider
whoru.session.provider=ru.greatbit.whoru.auth.providers.InmemSessionProvider