Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/controllers/passwords_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class PasswordsController < ApplicationController

before_action :validate_email, only: :forgot
before_action :validate_token, only: :reset
before_action :validate_password, only: %i(strength reset)
before_action :validate_password, only: :reset

###
# @description: Manages to generate a token and send it to the user via email with
Expand Down
2 changes: 1 addition & 1 deletion app/javascript/components/auth/ResetPass.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const ResetPass = (props) => {

setWorking(true);

resetPassword({ password: password }, token).then((response) => {
resetPassword(password, token).then((response) => {
/// Manage the errors
if (response.error) {
setErrors(response.error + '\n. We were not able to reset your password.');
Expand Down
Loading