-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't working
Description
#8 の実装時に(そんなにクリティカルじゃないので)skipした問題
- 既にパスワードを設定済みのuserがEdit Passwordページでpasswordとpassword confirmationを空にして正しいcurrent passwordのみを入力してsubmitしてもエラーを吐かない(ただしencrypted_passwordの更新もされない)
update_with_passwordの実装が問題- update_with_password does NOT apply password presence/length validation heartcombo/devise#2349 の挙動が原因。
update_with_passwordは(以下のページのように)、passwordではなくそれ以外の属性を更新したい際のリクエストの処理にも利用されるメソッドであり、そのように実装されているからである。
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
