fixed SPARK-2524, allowing admin logins to not require a keycode session

This commit is contained in:
Kevin Darby committed 2019-07-02 15:05:23 -04:00
1 parent a06df5099a
commit 6997aed9bd
4 files changed
+60 -3

No files matched your search

@@ -155,7 +155,7 @@ void AdminServiceServer::get_filtered_admin_data(
const api::Response<AdminData>& reply)
{
bts::api::user::TokenPayload toke;
if(bts::api::auth::decode_token(token, &toke))
bts::api::auth::decode_token(token, &toke);
{
if(toke.wheel())
reply(_state);