mirror of
https://gitlab.com/msrd0/gotham-restful.git
synced 2025-02-23 04:52:28 +00:00
fix import error
This commit is contained in:
parent
1e607bbcc9
commit
8834f3f64b
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ This trait will help the auth middleware to determine the validity of an authent
|
||||||
|
|
||||||
A very basic implementation could look like this:
|
A very basic implementation could look like this:
|
||||||
```
|
```
|
||||||
# use gotham_restful::{export::State, AuthHandler};
|
# use gotham_restful::{AuthHandler, State};
|
||||||
#
|
#
|
||||||
const SECRET : &'static [u8; 32] = b"zlBsA2QXnkmpe0QTh8uCvtAEa4j33YAc";
|
const SECRET : &'static [u8; 32] = b"zlBsA2QXnkmpe0QTh8uCvtAEa4j33YAc";
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue