mirror of
				https://github.com/gristlabs/grist-core.git
				synced 2025-06-13 20:53:59 +00:00 
			
		
		
		
	Merge pull request #141 from N6UDP/patch-1
Fix typo in email fallback for SAML
This commit is contained in:
		
						commit
						e73e74b8ad
					
				@ -183,7 +183,7 @@ export class SamlConfig {
 | 
			
		||||
        // available. Otherwise we use user.attributes which has the form {Name: [Value]}.
 | 
			
		||||
        const fname = samlUser.given_name || samlUser.attributes.FirstName || '';
 | 
			
		||||
        const lname = samlUser.surname || samlUser.attributes.LastName || '';
 | 
			
		||||
        const email = samlUser.email || samlUser.nameId;
 | 
			
		||||
        const email = samlUser.email || samlUser.name_id;
 | 
			
		||||
        const profile = {
 | 
			
		||||
          email,
 | 
			
		||||
          name: `${fname} ${lname}`.trim(),
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user