1
0
Fork 0
mirror of https://github.com/KingDuckZ/kamokan.git synced 2025-02-09 09:23:56 +00:00

Bugfix, don't redirect when the returned token is empty.

This commit is contained in:
King_DuckZ 2017-05-16 22:06:36 +01:00
parent e77b9dafbb
commit a1fa8cc1d2

View file

@ -152,7 +152,6 @@ namespace tawashi {
this->change_type(Response::Location, oss.str()); this->change_type(Response::Location, oss.str());
} }
else { else {
error_redirect(500, ErrorReasons::PastieNotSaved);
return; return;
} }
} }