6 lines
178 B
Crystal
6 lines
178 B
Crystal
|
module Auth::PasswordResets::TokenFromSession
|
||
|
private def token : String
|
||
|
session.get?(:password_reset_token) || raise "Password reset token not found in session"
|
||
|
end
|
||
|
end
|