bug squah
This commit is contained in:
		
							parent
							
								
									dc63fcdc3e
								
							
						
					
					
						commit
						54fab32116
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		
							
								
								
									
										2
									
								
								login.js
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								login.js
									
									
									
									
									
								
							|  | @ -9,7 +9,7 @@ form.addEventListener("submit", async function(event) { | ||||||
|     uname = formData.get('uname'); |     uname = formData.get('uname'); | ||||||
|     pin = formData.get('pin'); |     pin = formData.get('pin'); | ||||||
| 
 | 
 | ||||||
|     const response = await fetch(`/users/${uname}/${pin}`); |     const response = await fetch(`/api/users/${uname}/${pin}`); | ||||||
|     const loginInfo = await response.json(); |     const loginInfo = await response.json(); | ||||||
|      |      | ||||||
|     if (loginInfo.status === "ok") { |     if (loginInfo.status === "ok") { | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue