Welcome, Guest
Username: Password: Remember me

TOPIC: How autenticate a user with username and password in my database and...

How autenticate a user with username and password in my database and... 3 years 5 months ago #59977

  • ercar2
  • ercar2's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 2
  • Karma: 0
Hi at all. Sorry for my bad english language.
I have my user database. I want that a user login with data in my database then the user can access to moderate survey without autentication with the token.
In other word: I want a moderate survey but only my login open the access (with a link) to a specific survey, without supplementary login with classic "token".
I cannot send at my user the new information (token) for enter in the private area of my site.
Thank you for your support.
Carlo
The administrator has disabled public write access.

Re: How autenticate a user with username and password in my database and... 3 years 5 months ago #60181

  • ercar2
  • ercar2's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 2
  • Karma: 0
No replies :unsure:...
Ok,I have realised this workaround.
In my MySQL user database I have insert the column "token_survey" filled with numeric token.
I have exported the column in csv and imported in my survey.
When a user login in my site with my procedure I read the token_survey in database and attach it to the link of the appropriate survey. It's work fine but I think that is not an elegant solution....but....that is!!!
Carlo
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.096 seconds
Donation Image