Fixed issue causing account verify to throw 404 (#1987)

This commit is contained in:
Ahmad Farhat
2020-08-04 14:04:47 -04:00
committed by GitHub
parent 0710c569b7
commit 620416f18a
5 changed files with 11 additions and 5 deletions

View File

@ -371,7 +371,7 @@ class RoomsController < ApplicationController
end
def validate_verified_email
redirect_to account_activation_path(current_user) if current_user && !current_user&.activated?
redirect_to account_activation_path(digest: current_user.activation_digest) if current_user && !current_user&.activated?
end
def verify_room_owner_verified