Add Account#unavailable? and Account#permanently_unavailable? aliases (#28053)
		
	This commit is contained in:
		
					parent
					
						
							
								35deaaf90b
							
						
					
				
			
			
				commit
				
					
						963354978a
					
				
			
		
					 25 changed files with 57 additions and 58 deletions
				
			
		|  | @ -120,7 +120,7 @@ class Auth::RegistrationsController < Devise::RegistrationsController | |||
|   end | ||||
| 
 | ||||
|   def require_not_suspended! | ||||
|     forbidden if current_account.suspended? | ||||
|     forbidden if current_account.unavailable? | ||||
|   end | ||||
| 
 | ||||
|   def set_rules | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue