mirror of
				https://github.com/mealie-recipes/mealie.git
				synced 2025-10-31 02:03:35 -04:00 
			
		
		
		
	Feature: Add "Authentication Method" to allow existing users to sign in with LDAP (#2143)
* adds authentication method for users * fix db migration with postgres * tests for auth method * update migration ids * hide auth method on user creation form * (docs): Added documentation for the new authentication method * update migration * add to auto-form instead of having hidden fields
This commit is contained in:
		| @@ -29,6 +29,14 @@ export const useUserForm = () => { | ||||
|       type: fieldTypes.PASSWORD, | ||||
|       rules: ["required", "minLength:8"], | ||||
|     }, | ||||
|     { | ||||
|       label: "Authentication Method", | ||||
|       varName: "authMethod", | ||||
|       type: fieldTypes.SELECT, | ||||
|       hint: "This specifies how a user will authenticate with Mealie. If you're not sure, choose 'Mealie'", | ||||
|       disableCreate: true, | ||||
|       options: [{ text: "Mealie" }, { text: "LDAP" }], | ||||
|     }, | ||||
|     { | ||||
|       section: "Permissions", | ||||
|       label: "Administrator", | ||||
|   | ||||
		Reference in New Issue
	
	Block a user