mirror of
				https://github.com/owncast/owncast.git
				synced 2025-10-31 10:08:10 +08:00 
			
		
		
		
	User repository (#3795)
* It builds with the new user repository * fix(test): fix broken test * fix(api): fix registration endpoint that was broken after the change * fix(test): update test to reflect new user repository * fix: use interface type instead of concrete type * fix: restore commented out code
This commit is contained in:
		
							
								
								
									
										11
									
								
								models/auth.go
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								models/auth.go
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,11 @@ | ||||
| package models | ||||
|  | ||||
| // Type represents a form of authentication. | ||||
| type AuthType string | ||||
|  | ||||
| // The different auth types we support. | ||||
| const ( | ||||
| 	// IndieAuth https://indieauth.spec.indieweb.org/. | ||||
| 	IndieAuth AuthType = "indieauth" | ||||
| 	Fediverse AuthType = "fediverse" | ||||
| ) | ||||
		Reference in New Issue
	
	Block a user
	 Gabe Kangas
					Gabe Kangas