     @parent.unsetClass "taller"
     @username.unsetClass "kodingen"
     @password.input.$().attr "placeholder", "Create a password"
+    @password.input.ruleChain = ["required","minLength"] # this is a hack, needs a better implementation
     @$('p.kodingen-user-notification').height 0
     @passwordConfirm.setHeight 32
 

    @parent.setClass "taller"
    @username.setClass "kodingen"
    @password.input.$().attr "placeholder", "Type your kodingen password"
    @passwordConfirm.setHeight 0
    @$('p.kodingen-user-notification b').text "#{@username.input.getValue()}"
    @$('p.kodingen-user-notification').height 54

            required  : yes
            match     : @password.input
          messages    :
            required  : "Password confirmation required!"
            match     : "Password confirmation doesn't match!"
        focus         : (input, event)=>
          if @kodingenUser
            input.setValue @password.input.getValue()
