× How To / General

can not login through moodle mobile app

11 months 1 week ago
saman سامان
Posts: 232
More
Topic Author
can not login through moodle mobile app #1
hi.
i use moodle mobile application.
the moodle mobile work correct in the before i change some setting. now my user can not login and i see in live log of moodle :
Login failed for user 'xxxxx'. Most likely the password did not match (error ID '3').
user with username xxxxx can login some days ago without problem but in now he can not.
what seeting is wrong or what setting must set for user can login via app.
also other TIP: when i try to login in the moodle mobile, that user show online in joomla
Attachments:
11 months 1 week ago
Antonio Durán
Posts: 6838
More
can not login through moodle mobile app #2
I cannot tell you what setting you changed to make it not to work, sorry. You need to think about what changes you did and try to revert them.
You can also set up a new test installation and see if you get it working there. Then maybe you can compare...
11 months 1 week ago 11 months 1 week ago by saman سامان.
saman سامان
Posts: 232
More
Topic Author
can not login through moodle mobile app #3
thank you and i have other basic question
1-if we create user in joomla , then can we login with moodle login form with that user and password?
2-why password column is empty for some users in moodle database?
11 months 1 week ago
Antonio Durán
Posts: 6838
More
can not login through moodle mobile app #4
1-if we create user in joomla , then can we login with moodle login form with that user and password?
Yes
2-why password column is empty for some users in moodle database?
Sorry, I forgot to reply you in an older post. I checked it and saw that users created from Joomla were not filling password in Moodle. It is filled on update, I think, so some users have it. Also, on older Joomdle versions, it was also synced.
Anyway, I have worked on it and next release will include a fix, so new users get the password set.
11 months 1 week ago 11 months 1 week ago by saman سامان.
saman سامان
Posts: 232
More
Topic Author
can not login through moodle mobile app #5

Antonio Durán wrote: 1-if we create user in joomla , then can we login with moodle login form with that user and password?
Yes

are you sure about that? i repeat: login from moodle with user and password that define in joomla.is it possible?

Antonio Durán wrote: Anyway, I have worked on it and next release will include a fix, so new users get the password set.

can you say when probably that update release?
11 months 1 week ago
Antonio Durán
Posts: 6838
More
can not login through moodle mobile app #6
are you sure about that? i repeat: login from moodle with user and password that define in joomla.is it possible?
Yes

I don't know when we will release new package, sorry.
7 months 3 weeks ago 7 months 3 weeks ago by saman سامان.
saman سامان
Posts: 232
More
Topic Author
can not login through moodle mobile app #7

Antonio Durán wrote: 2-why password column is empty for some users in moodle database?
Sorry, I forgot to reply you in an older post. I checked it and saw that users created from Joomla were not filling password in Moodle. It is filled on update, I think, so some users have it. Also, on older Joomdle versions, it was also synced.
Anyway, I have worked on it and next release will include a fix, so new users get the password set.

hi
1-if it is possible, please say me how to solve that if you don't want to release new version until now...because i use moodle mobile and have problem with empty password...
2-and if you can say me how to resolve empty password column for users that was created in the past? can i copy password that was hash from joomla user table to moodle? i see some difference between that two user table in hash protocol. how can i solve empty password problem for these user that was created ?
thank you
7 months 3 weeks ago
Antonio Durán
Posts: 6838
More
can not login through moodle mobile app #8
I cannot tell you how to change code, as it involves several files... I will try to release a new version as soon as possible.

You should be able to just copy password from Joomla to Moodle, although for Joomdle users that won't do anything as Moodle password is never used.
7 months 3 weeks ago
saman سامان
Posts: 232
More
Topic Author
can not login through moodle mobile app #9

Antonio Durán wrote: You should be able to just copy password from Joomla to Moodle, although for Joomdle users that won't do anything as Moodle password is never used.

when i copy simply password from joomla user table to moodle user table, it is not work, means when i use that user and password to login directly in moodle,returned error and can not login
7 months 3 weeks ago 7 months 3 weeks ago by Antonio Durán.
Antonio Durán
Posts: 6838
More
can not login through moodle mobile app #10
If user is a Joomdle user, password in Moodle is never checked. Authentication is done against Joomla via web services.