How To / General

can not login through moodle mobile app

  • saman سامان
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
  • samansamani2[at]yahoo.com
More
8 years 3 months ago #1 by saman سامان
can not login through moodle mobile app was created by saman سامان
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

Please Log in or Create an account to join the conversation.

More
8 years 3 months ago #2 by Antonio Durán
Replied by Antonio Durán on topic can not login through moodle mobile app
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...

Please Log in or Create an account to join the conversation.

  • saman سامان
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
  • samansamani2[at]yahoo.com
More
8 years 3 months ago - 8 years 3 months ago #3 by saman سامان
Replied by saman سامان on topic can not login through moodle mobile app
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?
Last edit: 8 years 3 months ago by saman سامان.

Please Log in or Create an account to join the conversation.

More
8 years 3 months ago #4 by Antonio Durán
Replied by Antonio Durán on topic can not login through moodle mobile app
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.

Please Log in or Create an account to join the conversation.

  • saman سامان
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
  • samansamani2[at]yahoo.com
More
8 years 3 months ago - 8 years 3 months ago #5 by saman سامان
Replied by saman سامان on topic can not login through moodle mobile app

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?
Last edit: 8 years 3 months ago by saman سامان.

Please Log in or Create an account to join the conversation.

More
8 years 3 months ago #6 by Antonio Durán
Replied by Antonio Durán on topic can not login through moodle mobile app
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.

Please Log in or Create an account to join the conversation.

  • saman سامان
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
  • samansamani2[at]yahoo.com
More
7 years 11 months ago - 7 years 11 months ago #7 by saman سامان
Replied by saman سامان on topic can not login through moodle mobile app

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
Last edit: 7 years 11 months ago by saman سامان.

Please Log in or Create an account to join the conversation.

More
7 years 11 months ago #8 by Antonio Durán
Replied by Antonio Durán on topic can not login through moodle mobile app
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.

Please Log in or Create an account to join the conversation.

  • saman سامان
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
  • samansamani2[at]yahoo.com
More
7 years 11 months ago #9 by saman سامان
Replied by saman سامان on topic can not login through moodle mobile app

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

Please Log in or Create an account to join the conversation.

More
7 years 11 months ago - 7 years 11 months ago #10 by Antonio Durán
Replied by Antonio Durán on topic can not login through moodle mobile app
If user is a Joomdle user, password in Moodle is never checked. Authentication is done against Joomla via web services.
Last edit: 7 years 11 months ago by Antonio Durán.

Please Log in or Create an account to join the conversation.