Skip to content

Commit 8d75d65

Browse files
committed
Update controllerHome.js
Don't need to booleanize it, truethy is good enough
1 parent 0fc6918 commit 8d75d65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/controllers/home/controllerHome.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ function ControllerHome(
3838

3939
dataHome.data.hasPass = !!$location.search().password;
4040

41-
if (!!$location.search().auth) {
41+
if ($location.search().auth) {
4242
verifyUserIsAuth(true);
4343
}
4444
$scope.goToInstance = verifyUserIsAuth;

0 commit comments

Comments
 (0)