Skip to content

Server Side Validation Idea #86

@keverw

Description

@keverw

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions