Announcement Announcement Module
Collapse
No announcement yet.
Password field Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Password field

    Hi
    This is definitely an easy question one of the field's in my registration is to enter a password. I have generated the CRUD with scaffolding but what do I do on the tag to mask it:
    Code:
     <field:input field="password"  ...
    Also is there an easy way to do the confirm password to cross validate they are both there. Yeah I'm lazy.

  • #2
    I have not found an easy way yet, working on it.

    First I am creating a transient field called "passwordAgain".

    Would love to see a feature for field creation that configures the type as "password" for the UI. Maybe add a --password option to "field"

    Comment


    • #3
      Not just in the UI, a password shouldn't be stored as cleartext.

      Comment


      • #4
        That can be fixed in Spring Security with the
        <authentication-manager alias="authenticationManager">
        ...
        <authentication-provider>
        <password-encoder hash="sha-256"/>
        ...

        Comment

        Working...
        X