Aidan Crane
Aidan Crane
The script above does half work to fix the problem, my `js-beautify.coffee` is now as follows, `C:\Users\aidan\.atom\packages\atom-beautify\src\beautifiers\js-beautify.coffee` ```javascript when "Blade" beautifyHTML = require("js-beautify").html # pre script (Workaround) text = text.replace(/\@(?!yield)([^\n\s]*)/ig,...
https://github.com/Glavin001/atom-beautify/pull/2422 Fixes this issue but has not been merged.
If I do the following, ```php $user = User::where("email", $email_or_username)->where("email", "!=", "") ->orWhere('username', $email_or_username)->first(); if ($user != null) { if (Hash::check($password, $user->password)) { $token = auth('api')->login($user); return $this->respondWithToken($token); } }...
The following fixed the sub being 1 again, but obviously this is not an ideal fix as the header is not validated properly. ```php if (auth('api')->user()) { $sub = json_decode(base64_decode(explode(".",...
I also have this with Ubuntu 20, latest snap nextcloud. 
I decided to rebuild to a lamp stack.
Add-ons>Manage Add-ons>Manage>Remove codeblocks
Same under Windows 10