forked from CIT/Vmeda.Online
		
	MOBILE-4616 login: Trim username and email on reset password WS call
This commit is contained in:
		
							parent
							
								
									ce87157622
								
							
						
					
					
						commit
						ac719891d9
					
				@ -860,11 +860,11 @@ export class CoreLoginHelperProvider {
 | 
			
		||||
        const params: Record<string, string> = {};
 | 
			
		||||
 | 
			
		||||
        if (username) {
 | 
			
		||||
            params.username = username;
 | 
			
		||||
            params.username = username.trim();
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        if (email) {
 | 
			
		||||
            params.email = email;
 | 
			
		||||
            params.email = email.trim();
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        return CoreWS.callAjax('core_auth_request_password_reset', params, { siteUrl });
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user