Add a flag for enabling web-based login and update docs.
Review Request #13702 — Created April 5, 2024 and submitted
This adds a
.reviewboardrc
flag for enabling web-based login, which we leave
off by default. The reason why we leave it off by default is because we don't
currently support web-based login when authenticating RBTools on a remote
system, so it's better to let users opt-in to the feature rather than have
it on by default.This also includes a couple of other small changes:
1. Updates the docs related to authentication.
2. Fixes a bug where we used the wrongconfig_key
for the open browser
option inrbt login
.
3. Allows web-based login to be used when authenticating users through
commands other thanrbt login
.
- Tested
rbt login
, saw that web-based login was turned off by default and
could use it by passing the--web
option or settingWEB_LOGIN
in
.reviewboardrc
- Tested using
rbt status
without being logged in, saw that it would bring
me to web-based login if it was enabled, and prompted for username and
password if it wasn't enabled.
- Commits:
-
Summary ID 9f8a7457e033d52818b07b183229a7421c30fd92 a2ff52f60e1f99a328bd7423d5446458f6e7eb50
Checks run (2 succeeded)
flake8
passed.
JSHint
passed.