Skip to content

Commit a3859ff

Browse files
committed
Improve tokens and update Rocket
- Now the access and refresh tokens are different and have their own lifetime each. - Updated code to use Rocket v0.5.
1 parent a086355 commit a3859ff

File tree

14 files changed

+1220
-735
lines changed

14 files changed

+1220
-735
lines changed

.github/docker.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ apk -U --no-progress upgrade
1111

1212
# install build deps
1313
apk --no-progress add build-base curl openssl openssl-dev sqlite-dev
14-
curl https://sh.rustup.rs -sSf | sh -s -- -q -y --default-toolchain nightly-2022-01-01
14+
curl https://sh.rustup.rs -sSf | sh -s -- -q -y --default-toolchain 1.59.0
1515

1616
# build rockpass
1717
cd /rockpass/src

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
- uses: actions/checkout@v2
1111
- uses: actions-rs/toolchain@v1
1212
with:
13-
toolchain: nightly-2022-01-01
13+
toolchain: 1.59.0
1414
override: true
1515
- uses: actions-rs/cargo@v1
1616
with:

0 commit comments

Comments
 (0)