Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
slapos slapos
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Labels
    • Labels
  • Merge requests 122
    • Merge requests 122
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedi
  • slaposslapos
  • Merge requests
  • !91

Closed
Created Aug 02, 2016 by Jérome Perrin@jeromeOwner
  • Report abuse
Report abuse

slaprunner: Make a temporary redirect when redirecting to /setAccount

  • Overview 4
  • Commits 1
  • Changes 2

Otherwise browser cache it and we cannot login.

As you can see in the Network tab : Screenshot_2016-08-02_at_15.40.01

First time I entered the webrunner, there was no account, so from / I was redirected to /setAccount.

Then after setting account, when I click login button, this possed to doLogin, then redirect to / but the browser (chrome does this, not firefox) has cached that "/ redirect to setAccount", so it redirects to setAccount, which in turn redirect to /login. Back to login form and I cannot login.

83e98540 was wrong, the redirect code when no account exists should not be 301

but

307

@alain.takoudjou please confirm this account creation page is still used after your recent changes, I left a comment on 3f9029ba

/cc @rafael

PS: please also have take look at the discussions on https://www.erp5.com/group_section/forum/Where-can-I-find-Password-Recovery-code-of-web-runner

Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: slaprunner_redirect_to_setAccount
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7