mirror of
https://github.com/we-promise/sure.git
synced 2026-04-19 12:04:08 +00:00
Onboarding redirect tests and trial status bar (#2197)
* Onboarding redirect tests and trial status bar * use helper method * Fix time tolerance failure * Update post-onboarding message to be generic * Disable turbo frames on Trial start button * Update flash notice in test
This commit is contained in:
@@ -152,6 +152,10 @@ class User < ApplicationRecord
|
||||
totp.provisioning_uri(email)
|
||||
end
|
||||
|
||||
def onboarded?
|
||||
onboarded_at.present?
|
||||
end
|
||||
|
||||
private
|
||||
def ensure_valid_profile_image
|
||||
return unless profile_image.attached?
|
||||
|
||||
Reference in New Issue
Block a user