east-and-west-magic / django-pgsns

our social networks website
MIT License
0 stars 1 forks source link

测试user authentication #20

Closed yao-eastside closed 4 months ago

yao-eastside commented 5 months ago

测试login/logout/password reset/forgot password/ 【Jiang】

Beracles commented 5 months ago

测试结果:

  1. 尝试注册,提交后,出现拒绝连接错误ConnectionRefusedError: [Errno 111] Connection refused,本地和远端都是如此
  2. 不做任何改动,再次尝试后注册成功
  3. email或username已存在时,注册会失败(数据库没有变化)

注册后,可以直接登录而无需激活 登录后,accounts/logout可以正常访问,且会显示username

登录后,可在路径xxx/accounts/logout/下可执行登出操作 未登录时,访问logout会被重定向到根路径

需要先登录,输入当前密码和两次新密码,可正常修改密码

在login页面,点击forgot password进入accounts/password/reset页面,输入注册时输入的邮箱,点击reset按钮,随后出现拒绝连接错误,反复尝试仍然出错(本地和远端都是如此)

yao-eastside commented 5 months ago

we had issues saying /accounts/profile.html does not exist. @Beracles

yao-eastside commented 5 months ago

第五个视频25:35。profile怎么来的?

yao-eastside commented 4 months ago

第五个视频25:35。profile怎么来的?

这个会和profile头像一并处理。