hasgeek / hasjob

Hasjob, the Hasgeek job board
https://hasjob.co
GNU Affero General Public License v3.0
239 stars 80 forks source link

reverted and fixed current_auth booleans #460

Open iambibhas opened 6 years ago

iambibhas commented 6 years ago
if g.user:                   -   if current_auth.not_anonymous
if not g.user:               -   if current_auth.is_anonymous
if g.user or g.anon_user:    -   if current_auth.is_authenticated
if g.anon_user:              -   if current_auth.is_authenticated and current_auth.is_anonymous
CLAassistant commented 2 years ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.