Opened 10 years ago

Closed 9 years ago

Last modified 5 years ago

#518 closed unknown (duplicate)

Signup process : "why not check password with JS ?"

Reported by: jeanyves Owned by:
Priority: major Milestone: Legacy Resolved
Component: BW Profile Keywords: signup password
Cc:

Description

This is a suggestion from new member diedest

Change History (6)

comment:1 Changed 10 years ago by midsch

this is a bit opposite to: http://www.bevolunteer.org/trac/ticket/505 (reduces the usage of scripts)

comment:2 Changed 10 years ago by lemon-head

The solution is to do both php and javascript checks. This way, we don't depend on the javascript, but still make it more comfortable for people with js switched on.

I think the signup page does already have some very basic js checks (which fields are empty), but of course it can be improved.

comment:3 Changed 10 years ago by fake51

If the actual password check is to take place in javascript then I would say no. It is pure madness to send password-details through to the browser. Perhaps the idea is to send the login-details through ajax to avoid a page-reload - but honestly, that is way too much work for too little gain.

comment:4 Changed 10 years ago by lemon-head

There are some things which can be checked quite well with javascript.

  • Is some information still missing, fields left empty? These fields can get a special highlight.
  • Does the date of birth have a valid format?
  • etc.

It is not an exotic idea to check these things with javascript, to make it a bit more comfortable for people.

Some websites even check the security level of the chosen password.. but I don't think we need this.

comment:5 Changed 9 years ago by philipp

  • Resolution set to duplicate
  • Status changed from new to closed

this will be taken care of in #475, closing this one

comment:6 Changed 5 years ago by TimLoal

  • Component changed from BW General to BW Profile
  • Milestone changed from unassigned to Legacy Resolved
Note: See TracTickets for help on using tickets.