fix: remove unneeded print statements

This commit is contained in:
Fu Zi Xiang 2023-10-10 18:20:54 +08:00
parent 89a4c0756d
commit 9f362d3497
No known key found for this signature in database
2 changed files with 3 additions and 15 deletions

View File

@ -52,8 +52,6 @@ pub async fn admin_user_details_handler(
access_token: WebAccessToken,
Path(user_id): Path<String>,
) -> Result<Html<String>, RenderError> {
println!("---------- user_id: {}", user_id);
// http://localhost:3000/admin/users/3c093675-c4e0-4329-bd92-c1e8345afdd2
let users = state
.gotrue_client
.admin_user_details(&access_token.0, &user_id)

View File

@ -1,14 +1,6 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>User Detail</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<body>
<h1>User Detail</h1>
<h2>{{ user.email|escape }}</h2>
<p>Phone: {{ user.phone|escape }}</p>
@ -18,8 +10,6 @@
<p>Created At: {{ user.created_at|escape }}</p>
<p>Updated At: {{ user.updated_at|escape }}</p>
<a href="/web/admin/users">Back to User List</a>
</body>
</body>
</html>