Minor change
This commit is contained in:
		
							parent
							
								
									2acb450b64
								
							
						
					
					
						commit
						3e85e6375f
					
				@ -54,9 +54,10 @@ class auth:
 | 
				
			|||||||
                auth_profile_lastrowid = self.cursor.lastrowid
 | 
					                auth_profile_lastrowid = self.cursor.lastrowid
 | 
				
			||||||
                self.cursor.execute("INSERT INTO `auth_profile_verification` VALUES (DEFAULT, %s, 'email', 0);", (auth_profile_lastrowid,) )
 | 
					                self.cursor.execute("INSERT INTO `auth_profile_verification` VALUES (DEFAULT, %s, 'email', 0);", (auth_profile_lastrowid,) )
 | 
				
			||||||
                self.cursor.execute("INSERT INTO `auth_profile_roles` VALUES (DEFAULT, %s, %s);", (auth_profile_lastrowid, result_roles['id']) )
 | 
					                self.cursor.execute("INSERT INTO `auth_profile_roles` VALUES (DEFAULT, %s, %s);", (auth_profile_lastrowid, result_roles['id']) )
 | 
				
			||||||
                loggorilla.prcss(APIADDR, "Generate URL")
 | 
					                loggorilla.prcss(APIADDR, "Set expired datetime")
 | 
				
			||||||
                expired = globalvar.verification_link_expiration
 | 
					                expired = globalvar.verification_link_expiration
 | 
				
			||||||
                expired_isoformat = expired.isoformat()
 | 
					                expired_isoformat = expired.isoformat()
 | 
				
			||||||
 | 
					                loggorilla.prcss(APIADDR, "Generate URL")
 | 
				
			||||||
                payload = {
 | 
					                payload = {
 | 
				
			||||||
                    "token" : token,
 | 
					                    "token" : token,
 | 
				
			||||||
                    "expired": expired_isoformat
 | 
					                    "expired": expired_isoformat
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user