Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server Side Validation Idea #86

Open
keverw opened this issue Mar 16, 2016 · 1 comment
Open

Server Side Validation Idea #86

keverw opened this issue Mar 16, 2016 · 1 comment

Comments

@keverw
Copy link

keverw commented Mar 16, 2016

This plugin is awesome on the client side, but it'd be cool to have a companion module where you can pass in the same rules/scores and be able to score a password server side too.

I think there might be a way to do it with jquery serverside but a method to check with pure js would be probably cleaner on the server side. Having it share as much code as possible would be good. Someone wanting to do this could probably make a server side fork but I feel it'd be better if it was part of the same project for consistency and code reuse/updates.

Anyone else interesting in somthing like that happening? I haven't worked with this plugin's code much other than just being a user of the plugin, but I'm thinking https://github.com/ablanco/jquery.pwstrength.bootstrap/blob/master/src/rules.js would be what you'd base the new module off of.

I think https://github.com/mailcheck/mailcheck might be a good exmaple on how they handled this. They have a "Usage with jQuery" and then "Usage without jQuery" and "Usage on Node.js" sections.

@ablanco
Copy link
Owner

ablanco commented Mar 17, 2016

Hi Kevin,
that's a good idea. A server version would make use of the rules.js, options.js and part of the methods.js, but obviously not the ui.js.

@ablanco ablanco self-assigned this Mar 25, 2016
@ablanco ablanco removed their assignment Jan 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants