Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
CO-OP Search
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kittisak Maneewong
CO-OP Search
Commits
ffea59ad
Commit
ffea59ad
authored
Apr 07, 2019
by
Kittisak Maneewong
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://projectcs.sci.ubu.ac.th/Kittisak162/co-op-search
parents
d924ce96
5c4be305
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
422 additions
and
7 deletions
+422
-7
AuthController.php
app/Http/Controllers/AuthController.php
+73
-0
User.php
app/User.php
+12
-1
app.php
config/app.php
+3
-0
jwt.php
config/jwt.php
+304
-0
app.js
public/js/app.js
+2
-2
Toolbar.vue
resources/js/components/Toolbar.vue
+22
-1
api.php
routes/api.php
+6
-3
No files found.
app/Http/Controllers/AuthController.php
0 → 100644
View file @
ffea59ad
<?php
namespace
App\Http\Controllers
;
use
App\User
;
use
Illuminate\Http\Request
;
use
Illuminate\Support\Facades\Hash
;
use
Illuminate\Support\Facades\Validator
;
use
Tymon\JWTAuth\Facades\JWTAuth
;
use
Tymon\JWTAuth\Facades\JWTFactory
;
use
Tymon\JWTAuth\Exceptions\JWTException
;
use
Tymon\JWTAuth\Contracts\JWTSubject
;
use
Tymon\JWTAuth\PayloadFactory
;
use
Tymon\JWTAuth\JWTManager
as
JWT
;
class
AuthController
extends
Controller
{
public
function
register
(
Request
$request
)
{
$validator
=
Validator
::
make
(
$request
->
json
()
->
all
()
,
[
'name'
=>
'required|string|max:255'
,
'email'
=>
'required|string|email|max:255|unique:users'
,
'password'
=>
'required|string|min:8|confirmed'
,
]);
if
(
$validator
->
fails
())
{
return
response
()
->
json
(
$validator
->
errors
()
->
toJson
(),
400
);
}
$user
=
User
::
create
([
'name'
=>
$request
->
json
()
->
get
(
'name'
),
'email'
=>
$request
->
json
()
->
get
(
'email'
),
'password'
=>
Hash
::
make
(
$request
->
json
()
->
get
(
'password'
)),
]);
$token
=
JWTAuth
::
fromUser
(
$user
);
return
response
()
->
json
(
compact
(
'user'
,
'token'
),
201
);
}
public
function
login
(
Request
$request
)
{
$credentials
=
$request
->
json
()
->
all
();
try
{
if
(
!
$token
=
JWTAuth
::
attempt
(
$credentials
))
{
return
response
()
->
json
([
'error'
=>
'invalid_credentials'
],
400
);
}
}
catch
(
JWTException
$e
)
{
return
response
()
->
json
([
'error'
=>
'could_not_create_token'
,
500
]);
}
return
response
()
->
json
(
compact
(
'token'
));
}
public
function
getAuthenticatedUser
()
{
try
{
if
(
!
user
==
JWTAuth
::
parseToken
()
->
authenticate
())
{
return
response
()
->
json
([
'user_not_found'
],
404
);
}
}
catch
(
Tymon\JWTAuth\Exceptions\TokenExpiredException
$e
)
{
return
response
()
->
json
([
'token_expired'
],
$e
->
getStatusCode
());
}
catch
(
Tymon\JWTAuth\Exceptions\TokenInvalidException
$e
)
{
return
response
()
->
json
([
'token_invalid'
,
$e
->
getStatusCode
()]);
}
catch
(
Tymon\JWTAuth\Exceptions\JWTException
$e
)
{
return
response
()
->
json
([
'token_absent'
],
$e
->
getStatusCode
());
}
return
response
()
->
json
(
compact
(
'user'
));
}
}
app/User.php
View file @
ffea59ad
...
@@ -5,8 +5,9 @@ namespace App;
...
@@ -5,8 +5,9 @@ namespace App;
use
Illuminate\Notifications\Notifiable
;
use
Illuminate\Notifications\Notifiable
;
use
Illuminate\Contracts\Auth\MustVerifyEmail
;
use
Illuminate\Contracts\Auth\MustVerifyEmail
;
use
Illuminate\Foundation\Auth\User
as
Authenticatable
;
use
Illuminate\Foundation\Auth\User
as
Authenticatable
;
use
Tymon\JWTAuth\Contracts\JWTSubject
;
class
User
extends
Authenticatable
class
User
extends
Authenticatable
implements
JWTSubject
{
{
use
Notifiable
;
use
Notifiable
;
...
@@ -36,4 +37,14 @@ class User extends Authenticatable
...
@@ -36,4 +37,14 @@ class User extends Authenticatable
protected
$casts
=
[
protected
$casts
=
[
'email_verified_at'
=>
'datetime'
,
'email_verified_at'
=>
'datetime'
,
];
];
public
function
getJWTIdentifier
()
{
return
$this
->
getKey
();
}
public
function
getJWTCustomClaims
()
{
return
[];
}
}
}
config/app.php
View file @
ffea59ad
...
@@ -174,6 +174,7 @@ return [
...
@@ -174,6 +174,7 @@ return [
// App\Providers\BroadcastServiceProvider::class,
// App\Providers\BroadcastServiceProvider::class,
App\Providers\EventServiceProvider
::
class
,
App\Providers\EventServiceProvider
::
class
,
App\Providers\RouteServiceProvider
::
class
,
App\Providers\RouteServiceProvider
::
class
,
Tymon\JWTAuth\Providers\LaravelServiceProvider
::
class
,
],
],
...
@@ -225,6 +226,8 @@ return [
...
@@ -225,6 +226,8 @@ return [
'URL'
=>
Illuminate\Support\Facades\URL
::
class
,
'URL'
=>
Illuminate\Support\Facades\URL
::
class
,
'Validator'
=>
Illuminate\Support\Facades\Validator
::
class
,
'Validator'
=>
Illuminate\Support\Facades\Validator
::
class
,
'View'
=>
Illuminate\Support\Facades\View
::
class
,
'View'
=>
Illuminate\Support\Facades\View
::
class
,
'JWTAuth'
=>
Tymon\JWTAuth\Facades\JWTAuth
::
class
,
'JWTFactory'
=>
Tymon\JWTAuth\Facades\JWTFactory
::
class
,
],
],
...
...
config/jwt.php
0 → 100644
View file @
ffea59ad
<?php
/*
* This file is part of jwt-auth.
*
* (c) Sean Tymon <tymon148@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
return
[
/*
|--------------------------------------------------------------------------
| JWT Authentication Secret
|--------------------------------------------------------------------------
|
| Don't forget to set this in your .env file, as it will be used to sign
| your tokens. A helper command is provided for this:
| `php artisan jwt:secret`
|
| Note: This will be used for Symmetric algorithms only (HMAC),
| since RSA and ECDSA use a private/public key combo (See below).
|
*/
'secret'
=>
env
(
'JWT_SECRET'
),
/*
|--------------------------------------------------------------------------
| JWT Authentication Keys
|--------------------------------------------------------------------------
|
| The algorithm you are using, will determine whether your tokens are
| signed with a random string (defined in `JWT_SECRET`) or using the
| following public & private keys.
|
| Symmetric Algorithms:
| HS256, HS384 & HS512 will use `JWT_SECRET`.
|
| Asymmetric Algorithms:
| RS256, RS384 & RS512 / ES256, ES384 & ES512 will use the keys below.
|
*/
'keys'
=>
[
/*
|--------------------------------------------------------------------------
| Public Key
|--------------------------------------------------------------------------
|
| A path or resource to your public key.
|
| E.g. 'file://path/to/public/key'
|
*/
'public'
=>
env
(
'JWT_PUBLIC_KEY'
),
/*
|--------------------------------------------------------------------------
| Private Key
|--------------------------------------------------------------------------
|
| A path or resource to your private key.
|
| E.g. 'file://path/to/private/key'
|
*/
'private'
=>
env
(
'JWT_PRIVATE_KEY'
),
/*
|--------------------------------------------------------------------------
| Passphrase
|--------------------------------------------------------------------------
|
| The passphrase for your private key. Can be null if none set.
|
*/
'passphrase'
=>
env
(
'JWT_PASSPHRASE'
),
],
/*
|--------------------------------------------------------------------------
| JWT time to live
|--------------------------------------------------------------------------
|
| Specify the length of time (in minutes) that the token will be valid for.
| Defaults to 1 hour.
|
| You can also set this to null, to yield a never expiring token.
| Some people may want this behaviour for e.g. a mobile app.
| This is not particularly recommended, so make sure you have appropriate
| systems in place to revoke the token if necessary.
| Notice: If you set this to null you should remove 'exp' element from 'required_claims' list.
|
*/
'ttl'
=>
env
(
'JWT_TTL'
,
60
),
/*
|--------------------------------------------------------------------------
| Refresh time to live
|--------------------------------------------------------------------------
|
| Specify the length of time (in minutes) that the token can be refreshed
| within. I.E. The user can refresh their token within a 2 week window of
| the original token being created until they must re-authenticate.
| Defaults to 2 weeks.
|
| You can also set this to null, to yield an infinite refresh time.
| Some may want this instead of never expiring tokens for e.g. a mobile app.
| This is not particularly recommended, so make sure you have appropriate
| systems in place to revoke the token if necessary.
|
*/
'refresh_ttl'
=>
env
(
'JWT_REFRESH_TTL'
,
20160
),
/*
|--------------------------------------------------------------------------
| JWT hashing algorithm
|--------------------------------------------------------------------------
|
| Specify the hashing algorithm that will be used to sign the token.
|
| See here: https://github.com/namshi/jose/tree/master/src/Namshi/JOSE/Signer/OpenSSL
| for possible values.
|
*/
'algo'
=>
env
(
'JWT_ALGO'
,
'HS256'
),
/*
|--------------------------------------------------------------------------
| Required Claims
|--------------------------------------------------------------------------
|
| Specify the required claims that must exist in any token.
| A TokenInvalidException will be thrown if any of these claims are not
| present in the payload.
|
*/
'required_claims'
=>
[
'iss'
,
'iat'
,
'exp'
,
'nbf'
,
'sub'
,
'jti'
,
],
/*
|--------------------------------------------------------------------------
| Persistent Claims
|--------------------------------------------------------------------------
|
| Specify the claim keys to be persisted when refreshing a token.
| `sub` and `iat` will automatically be persisted, in
| addition to the these claims.
|
| Note: If a claim does not exist then it will be ignored.
|
*/
'persistent_claims'
=>
[
// 'foo',
// 'bar',
],
/*
|--------------------------------------------------------------------------
| Lock Subject
|--------------------------------------------------------------------------
|
| This will determine whether a `prv` claim is automatically added to
| the token. The purpose of this is to ensure that if you have multiple
| authentication models e.g. `App\User` & `App\OtherPerson`, then we
| should prevent one authentication request from impersonating another,
| if 2 tokens happen to have the same id across the 2 different models.
|
| Under specific circumstances, you may want to disable this behaviour
| e.g. if you only have one authentication model, then you would save
| a little on token size.
|
*/
'lock_subject'
=>
true
,
/*
|--------------------------------------------------------------------------
| Leeway
|--------------------------------------------------------------------------
|
| This property gives the jwt timestamp claims some "leeway".
| Meaning that if you have any unavoidable slight clock skew on
| any of your servers then this will afford you some level of cushioning.
|
| This applies to the claims `iat`, `nbf` and `exp`.
|
| Specify in seconds - only if you know you need it.
|
*/
'leeway'
=>
env
(
'JWT_LEEWAY'
,
0
),
/*
|--------------------------------------------------------------------------
| Blacklist Enabled
|--------------------------------------------------------------------------
|
| In order to invalidate tokens, you must have the blacklist enabled.
| If you do not want or need this functionality, then set this to false.
|
*/
'blacklist_enabled'
=>
env
(
'JWT_BLACKLIST_ENABLED'
,
true
),
/*
| -------------------------------------------------------------------------
| Blacklist Grace Period
| -------------------------------------------------------------------------
|
| When multiple concurrent requests are made with the same JWT,
| it is possible that some of them fail, due to token regeneration
| on every request.
|
| Set grace period in seconds to prevent parallel request failure.
|
*/
'blacklist_grace_period'
=>
env
(
'JWT_BLACKLIST_GRACE_PERIOD'
,
0
),
/*
|--------------------------------------------------------------------------
| Cookies encryption
|--------------------------------------------------------------------------
|
| By default Laravel encrypt cookies for security reason.
| If you decide to not decrypt cookies, you will have to configure Laravel
| to not encrypt your cookie token by adding its name into the $except
| array available in the middleware "EncryptCookies" provided by Laravel.
| see https://laravel.com/docs/master/responses#cookies-and-encryption
| for details.
|
| Set it to true if you want to decrypt cookies.
|
*/
'decrypt_cookies'
=>
false
,
/*
|--------------------------------------------------------------------------
| Providers
|--------------------------------------------------------------------------
|
| Specify the various providers used throughout the package.
|
*/
'providers'
=>
[
/*
|--------------------------------------------------------------------------
| JWT Provider
|--------------------------------------------------------------------------
|
| Specify the provider that is used to create and decode the tokens.
|
*/
'jwt'
=>
Tymon\JWTAuth\Providers\JWT\Lcobucci
::
class
,
/*
|--------------------------------------------------------------------------
| Authentication Provider
|--------------------------------------------------------------------------
|
| Specify the provider that is used to authenticate users.
|
*/
'auth'
=>
Tymon\JWTAuth\Providers\Auth\Illuminate
::
class
,
/*
|--------------------------------------------------------------------------
| Storage Provider
|--------------------------------------------------------------------------
|
| Specify the provider that is used to store tokens in the blacklist.
|
*/
'storage'
=>
Tymon\JWTAuth\Providers\Storage\Illuminate
::
class
,
],
];
public/js/app.js
View file @
ffea59ad
...
@@ -393,7 +393,7 @@ eval("\n\nvar bind = __webpack_require__(/*! ./helpers/bind */ \"./node_modules/
...
@@ -393,7 +393,7 @@ eval("\n\nvar bind = __webpack_require__(/*! ./helpers/bind */ \"./node_modules/
/***/
(
function
(
module
,
__webpack_exports__
,
__webpack_require__
)
{
/***/
(
function
(
module
,
__webpack_exports__
,
__webpack_require__
)
{
"use strict"
;
"use strict"
;
eval
(
"__webpack_require__.r(__webpack_exports__);
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
/
* harmony default export */ __webpack_exports__[
\"
default
\"
] = ({
\n
props: ['page']
\n
});//# sourceURL=[module]
\n
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vcmVzb3VyY2VzL2pzL2NvbXBvbmVudHMvVG9vbGJhci52dWU/OThmNCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQTZCQTtBQUNBO0FBREEiLCJmaWxlIjoiLi9ub2RlX21vZHVsZXMvYmFiZWwtbG9hZGVyL2xpYi9pbmRleC5qcz8hLi9ub2RlX21vZHVsZXMvdnVlLWxvYWRlci9saWIvaW5kZXguanM/IS4vcmVzb3VyY2VzL2pzL2NvbXBvbmVudHMvVG9vbGJhci52dWU/dnVlJnR5cGU9c2NyaXB0Jmxhbmc9anMmLmpzIiwic291cmNlc0NvbnRlbnQiOlsiPHRlbXBsYXRlPlxyXG4gIDxkaXY+XHJcbiAgICA8di1sYXlvdXQgcm93IHdyYXAgd2hpdGU+XHJcbiAgICAgIDx2LWZsZXggeHMxMiBzbTEwIG9mZnNldC1zbTE+XHJcbiAgICAgICAgPHYtdG9vbGJhciBmbGF0IGNvbG9yPVwid2hpdGVcIiBoZWlnaHQ9XCI0MFwiPlxyXG4gICAgICAgICAgPHYtc3BhY2VyPjwvdi1zcGFjZXI+XHJcbiAgICAgICAgICA8di1idG4gc21hbGw9XCJcIiBkYXJrIGNvbG9yPVwiZGVlcC1vcmFuZ2UgZGFya2VuLTRcIiBjbGFzcz1cImVsZXZhdGlvbi0wXCIgQGNsaWNrPVwiJHJvdXRlci5wdXNoKCcvZW1wbG95ZXIvbG9naW4nKVwiPuC4quC4s+C4q+C4o+C4seC4muC4nOC4ueC5ieC4m+C4o+C4sOC4geC4reC4muC4geC4suC4ozwvdi1idG4+XHJcbiAgICAgICAgICA8di1kaXZpZGVyIGluc2V0IHZlcnRpY2FsPjwvdi1kaXZpZGVyPlxyXG4gICAgICAgICAgPHYtYnRuIHJvdW5kIHNtYWxsIG91dGxpbmUgY29sb3I9XCJkZWVwLW9yYW5nZSBkYXJrZW4tNFwiPlxyXG4gICAgICAgICAgICA8di1pY29uPnBlcnNvbjwvdi1pY29uPiDguYDguILguYnguLLguKrguLnguYjguKPguLDguJrguJogLyDguKrguKHguLHguITguKPguKrguKHguLLguIrguLTguIFcclxuICAgICAgICAgIDwvdi1idG4+XHJcbiAgICAgICAgPC92LXRvb2xiYXI+XHJcbiAgICAgIDwvdi1mbGV4PlxyXG4gICAgPC92LWxheW91dD5cclxuICAgIDx2LWxheW91dCByb3cgd3JhcCB3aGl0ZT5cclxuICAgICAgPHYtZmxleCB4czEyIHNtMTAgb2Zmc2V0LXNtMT5cclxuICAgICAgICA8di10b29sYmFyIGZsYXQgY29sb3I9XCJ3aGl0ZVwiIHYtaWY9XCJwYWdlID09ICdhcHAnXCIgPlxyXG4gICAgICAgICAgPHYtdG9vbGJhci10aXRsZT5cclxuICAgICAgICAgICAgPGltZyBzcmM9XCIuLi8uLi8uLi9wdWJsaWMvaW1nL2Jhbm5lci5wbmdcIiBjbGFzcz1cIm15LTJcIiB3aWR0aD1cIjE1MFwiPlxyXG4gICAgICAgICAgPC92LXRvb2xiYXItdGl0bGU+XHJcbiAgICAgICAgICA8di1zcGFjZXI+PC92LXNwYWNlcj5cclxuICAgICAgICAgIFxyXG4gICAgICAgIDwvdi10b29sYmFyPlxyXG4gICAgICA8L3YtZmxleD5cclxuICAgIDwvdi1sYXlvdXQ+XHJcbiAgPC9kaXY+XHJcbjwvdGVtcGxhdGU+XHJcblxyXG48c2NyaXB0PlxyXG5leHBvcnQgZGVmYXVsdCB7XHJcbiAgcHJvcHM6IFsncGFnZSddXHJcbn1cclxuPC9zY3JpcHQ+XHJcbiJdLCJzb3VyY2VSb290IjoiIn0
=
\n
//# sourceURL=webpack-internal:///./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/components/Toolbar.vue?vue&type=script&lang=js&
\n
"
);
eval
(
"__webpack_require__.r(__webpack_exports__);
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
/
/
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
//
\n
/* harmony default export */ __webpack_exports__[
\"
default
\"
] = ({
\n
props: ['page']
\n
});//# sourceURL=[module]
\n
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vcmVzb3VyY2VzL2pzL2NvbXBvbmVudHMvVG9vbGJhci52dWU/OThmNCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQWtEQTtBQUNBO0FBREEiLCJmaWxlIjoiLi9ub2RlX21vZHVsZXMvYmFiZWwtbG9hZGVyL2xpYi9pbmRleC5qcz8hLi9ub2RlX21vZHVsZXMvdnVlLWxvYWRlci9saWIvaW5k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p+C4geC4seC4muC5gOC4o+C4sjwvc3Bhbj5cclxuICAgICAgICAgIDwvdi1idG4+XHJcbiAgICAgICAgPC92LXRvb2xiYXI+XHJcbiAgICAgIDwvdi1mbGV4PlxyXG4gICAgPC92LWxheW91dD5cclxuICA8L2Rpdj5cclxuPC90ZW1wbGF0ZT5cclxuXHJcbjxzY3JpcHQ+XHJcbmV4cG9ydCBkZWZhdWx0IHtcclxuICBwcm9wczogWydwYWdlJ11cclxufVxyXG48L3NjcmlwdD5cclxuIl0sInNvdXJjZVJvb3QiOiIifQ=
=
\n
//# sourceURL=webpack-internal:///./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/components/Toolbar.vue?vue&type=script&lang=js&
\n
"
);
/***/
}),
/***/
}),
...
@@ -609,7 +609,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) *
...
@@ -609,7 +609,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) *
/***/
(
function
(
module
,
__webpack_exports__
,
__webpack_require__
)
{
/***/
(
function
(
module
,
__webpack_exports__
,
__webpack_require__
)
{
"use strict"
;
"use strict"
;
eval
(
"__webpack_require__.r(__webpack_exports__);
\n
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__,
\"
render
\"
, function() { return render; });
\n
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__,
\"
staticRenderFns
\"
, function() { return staticRenderFns; });
\n
var render = function() {
\n
var _vm = this
\n
var _h = _vm.$createElement
\n
var _c = _vm._self._c || _h
\n
return _c(
\n
\"
div
\"
,
\n
[
\n
_c(
\n
\"
v-layout
\"
,
\n
{ attrs: { row:
\"\"
, wrap:
\"\"
, white:
\"\"
} },
\n
[
\n
_c(
\n
\"
v-flex
\"
,
\n
{ attrs: { xs12:
\"\"
, sm10:
\"\"
,
\"
offset-sm1
\"
:
\"\"
} },
\n
[
\n
_c(
\n
\"
v-toolbar
\"
,
\n
{ attrs: { flat:
\"\"
, color:
\"
white
\"
, height:
\"
40
\"
} },
\n
[
\n
_c(
\"
v-spacer
\"
),
\n
_vm._v(
\"
\"
),
\n
_c(
\n
\"
v-btn
\"
,
\n
{
\n
staticClass:
\"
elevation-0
\"
,
\n
attrs: {
\n
small:
\"\"
,
\n
dark:
\"\"
,
\n
color:
\"
deep-orange darken-4
\"\n
},
\n
on: {
\n
click: function($event) {
\n
return _vm.$router.push(
\"
/employer/login
\"
)
\n
}
\n
}
\n
},
\n
[_vm._v(
\"
สำหรับผู้ประกอบการ
\"
)]
\n
),
\n
_vm._v(
\"
\"
),
\n
_c(
\"
v-divider
\"
, { attrs: { inset:
\"\"
, vertical:
\"\"
} }),
\n
_vm._v(
\"
\"
),
\n
_c(
\n
\"
v-btn
\"
,
\n
{
\n
attrs: {
\n
round:
\"\"
,
\n
small:
\"\"
,
\n
outline:
\"\"
,
\n
color:
\"
deep-orange darken-4
\"\n
}
\n
},
\n
[
\n
_c(
\"
v-icon
\"
, [_vm._v(
\"
person
\"
)]),
\n
_vm._v(
\"
เข้าสู่ระบบ / สมัครสมาชิก
\
\n
\"
)
\n
],
\n
1
\n
)
\n
],
\n
1
\n
)
\n
],
\n
1
\n
)
\n
],
\n
1
\n
),
\n
_vm._v(
\"
\"
),
\n
_c(
\n
\"
v-layout
\"
,
\n
{ attrs: { row:
\"\"
, wrap:
\"\"
, white:
\"\"
} },
\n
[
\n
_c(
\n
\"
v-flex
\"
,
\n
{ attrs: { xs12:
\"\"
, sm10:
\"\"
,
\"
offset-sm1
\"
:
\"\"
} },
\n
[
\n
_vm.page ==
\"
app
\"\n
? _c(
\n
\"
v-toolbar
\"
,
\n
{ attrs: { flat:
\"\"
, color:
\"
white
\"
} },
\n
[
\n
_c(
\"
v-toolbar-title
\"
, [
\n
_c(
\"
img
\"
, {
\n
staticClass:
\"
my-2
\"
,
\n
attrs: {
\n
src: __webpack_require__(/*! ../../../public/img/banner.png */
\"
./public/img/banner.png
\"
),
\n
width:
\"
150
\"\n
}
\n
})
\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6IFwiXCIsIFwib2Zmc2V0LXNtMVwiOiBcIlwiIH0gfSxcbiAgICAgICAgICAgIFtcbiAgICAgICAgICAgICAgX2MoXG4gICAgICAgICAgICAgICAgXCJ2LXRvb2xiYXJcIixcbiAgICAgICAgICAgICAgICB7IGF0dHJzOiB7IGZsYXQ6IFwiXCIsIGNvbG9yOiBcIndoaXRlXCIsIGhlaWdodDogXCI0MFwiIH0gfSxcbiAgICAgICAgICAgICAgICBbXG4gICAgICAgICAgICAgICAgICBfYyhcInYtc3BhY2VyXCIpLFxuICAgICAgICAgICAgICAgICAgX3ZtLl92KFwiIFwiKSxcbiAgICAgICAgICAgICAgICAgIF9jKFxuICAgICAgICAgICAgICAgICAgICBcInYtYnRuXCIsXG4gICAgICAgICAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgICAgICAgICBzdGF0aWNDbGFzczogXCJlbGV2YXRpb24tMFwiLFxuICAgICAgICAgICAgICAgICAgICAgIGF0dHJzOiB7XG4gICAgICAgICAgICAgICAgICAgICAgICBzbWFsbDogXCJcIixcbiAgICAgICAgICAgICAgICAgICAgICAgIGRhcms6IFwiXCIsXG4gICAgICAgICAgICAgICAgICAgICAgICBjb2xvcjogXCJkZWVwLW9yYW5nZSBkYXJrZW4tNFwiXG4gICAgICAgICAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgICAgICAgICAgICBvbjoge1xuICAgICAgICAgICAgICAgICAgICAgICAgY2xpY2s6IGZ1bmN0aW9uKCRldmVudCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gX3ZtLiRyb3V0ZXIucHVzaChcIi9lbXBsb3llci9sb2dpblwiKVxuICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgICAgICAgICAgW192bS5fdihcIuC4quC4s+C4q+C4o+C4seC4muC4nOC4ueC5ieC4m+C4o+C4sOC4geC4reC4muC4geC4suC4o1wiKV1cbiAgICAgICAgICAgICAgICAgICksXG4gICAgICAgICAgICAgICAgICBfdm0uX3YoXCIgXCIpLFxuICAgICAgICAgICAgICAgICAgX2MoXCJ2LWRpdmlkZXJcIiwgeyBhdHRyczogeyBpbnNldDogXCJcIiwgdmVydGljYWw6IFwiXCIgfSB9KSxcbiAgICAgICAgICAgICAgICAgIF92bS5fdihcIiBcIiksXG4gICAgICAgICAgICAgICAgICBfYyhcbiAgICAgICAgICAgICAgICAgICAgXCJ2LWJ0blwiLFxuICAgICAgICAgICAgICAgICAgICB7XG4gICAgICAgICAgICAgICAgICAgICAgYXR0cnM6IHtcbiAgICAgICAgICAgICAgICAgICAgICAgIHJvdW5kOiBcIlwiLFxuICAgICAgICAgICAgICAgICAgICAgICAgc21hbGw6IFwiXCIsXG4gICAgICAgICAgICAgICAgICAgICAgICBvdXRsaW5lOiBcIlwiLFxuICAgICAgICAgICAgICAgICAgICAgICAgY29sb3I6IFwiZGVlcC1vcmFuZ2UgZGFya2VuLTRcIlxuICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgICAgICAgICAgW1xuICAgICAgICAgICAgICAgICAgICAgIF9jKFwidi1pY29uXCIsIFtfdm0uX3YoXCJwZXJzb25cIildKSxcbiAgICAgICAgICAgICAgICAgICAgICBfdm0uX3YoXCIg4LmA4LiC4LmJ4Liy4Liq4Li54LmI4Lij4Liw4Lia4LiaIC8g4Liq4Lih4Lix4LiE4Lij4Liq4Lih4Liy4LiK4Li04LiBXFxuICAgICAgICBcIilcbiAgICAgICAgICAgICAgICAgICAgXSxcbiAgICAgICAgICAgICAgICAgICAgMVxuICAgICAgICAgICAgICAgICAgKVxuICAgICAgICAgICAgICAgIF0sXG4gICAgICAgICAgICAgICAgMVxuICAgICAgICAgICAgICApXG4gICAgICAgICAgICBdLFxuICAgICAgICAgICAgMVxuICAgICAgICAgIClcbiAgICAgICAgXSxcbiAgICAgICAgMVxuICAgICAgKSxcbiAgICAgIF92bS5fdihcIiBcIiksXG4gICAgICBfYyhcbiAgICAgICAgXCJ2LWxheW91dFwiLFxuICAgICAgICB7IGF0dHJzOiB7IHJvdzogXCJcIiwgd3JhcDogXCJcIiwgd2hpdGU6IFwiXCIgfSB9LFxuICAgICAgICBbXG4gICAgICAgICAgX2MoXG4gICAgICAgICAgICBcInYtZmxleFwiLFxuICAgICAgICAgICAgeyBhdHRyczogeyB4czEyOiBcIlwiLCBzbTEwOiBcIlwiLCBcIm9mZnNldC1zbTFcIjogXCJcIiB9IH0sXG4gICAgICAgICAgICBbXG4gICAgICAgICAgICAgIF92bS5wYWdlID09IFwiYXBwXCJcbiAgICAgICAgICAgICAgICA/IF9jKFxuICAgICAgICAgICAgICAgICAgICBcInYtdG9vbGJhclwiLFxuICAgICAgICAgICAgICAgICAgICB7IGF0dHJzOiB7IGZsYXQ6IFwiXCIsIGNvbG9yOiBcIndoaXRlXCIgfSB9LFxuICAgICAgICAgICAgICAgICAgICBbXG4gICAgICAgICAgICAgICAgICAgICAgX2MoXCJ2LXRvb2xiYXItdGl0bGVcIiwgW1xuICAgICAgICAgICAgICAgICAgICAgICAgX2MoXCJpbWdcIiwge1xuICAgICAgICAgICAgICAgICAgICAgICAgICBzdGF0aWNDbGFzczogXCJteS0yXCIsXG4gICAgICAgICAgICAgICAgICAgICAgICAgIGF0dHJzOiB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgc3JjOiByZXF1aXJlKFwiLi4vLi4vLi4vcHVibGljL2ltZy9iYW5uZXIucG5nXCIpLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHdpZHRoOiBcIjE1MFwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgIH0pXG4gICAgICAgICAgICAgICAgICAgICAgXSksXG4gICAgICAgICAgICAgICAgICAgICAgX3ZtLl92KFwiIFwiKSxcbiAgICAgICAgICAgICAgICAgICAgICBfYyhcInYtc3BhY2VyXCIpXG4gICAgICAgICAgICAgICAgICAgIF0sXG4gICAgICAgICAgICAgICAgICAgIDFcbiAgICAgICAgICAgICAgICAgIClcbiAgICAgICAgICAgICAgICA6IF92bS5fZSgpXG4gICAgICAgICAgICBdLFxuICAgICAgICAgICAgMVxuICAgICAgICAgIClcbiAgICAgICAgXSxcbiAgICAgICAgMVxuICAgICAgKVxuICAgIF0sXG4gICAgMVxuICApXG59XG52YXIgc3RhdGljUmVuZGVyRm5zID0gW11cbnJlbmRlci5fd2l0aFN0cmlwcGVkID0gdHJ1ZVxuXG5leHBvcnQgeyByZW5kZXIsIHN0YXRpY1JlbmRlckZucyB9Il0sInNvdXJjZVJvb3QiOiIifQ==
\n
//# sourceURL=webpack-internal:///./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/components/Toolbar.vue?vue&type=template&id=43b87f60&
\n
"
);
eval
(
"__webpack_require__.r(__webpack_exports__);
\n
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__,
\"
render
\"
, function() { return render; });
\n
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__,
\"
staticRenderFns
\"
, function() { return staticRenderFns; });
\n
var render = function() {
\n
var _vm = this
\n
var _h = _vm.$createElement
\n
var _c = _vm._self._c || _h
\n
return _c(
\n
\"
div
\"
,
\n
[
\n
_c(
\n
\"
v-layout
\"
,
\n
{ attrs: { row:
\"\"
, wrap:
\"\"
, white:
\"\"
} },
\n
[
\n
_c(
\n
\"
v-flex
\"
,
\n
{ attrs: { xs12:
\"\"
, sm10:
\"\"
,
\"
offset-sm1
\"
:
\"\"
} },
\n
[
\n
_c(
\n
\"
v-toolbar
\"
,
\n
{ attrs: { flat:
\"\"
, color:
\"
white
\"
, height:
\"
40
\"
} },
\n
[
\n
_c(
\"
v-spacer
\"
),
\n
_vm._v(
\"
\"
),
\n
_c(
\n
\"
v-btn
\"
,
\n
{
\n
staticClass:
\"
elevation-0
\"
,
\n
attrs: {
\n
small:
\"\"
,
\n
dark:
\"\"
,
\n
color:
\"
deep-orange darken-4
\"\n
},
\n
on: {
\n
click: function($event) {
\n
return _vm.$router.push(
\"
/employer/login
\"
)
\n
}
\n
}
\n
},
\n
[_vm._v(
\"
สำหรับผู้ประกอบการ
\"
)]
\n
),
\n
_vm._v(
\"
\"
),
\n
_c(
\"
v-divider
\"
, { attrs: { inset:
\"\"
, vertical:
\"\"
} }),
\n
_vm._v(
\"
\"
),
\n
_c(
\n
\"
v-btn
\"
,
\n
{
\n
attrs: {
\n
round:
\"\"
,
\n
small:
\"\"
,
\n
outline:
\"\"
,
\n
color:
\"
deep-orange darken-4
\"\n
}
\n
},
\n
[
\n
_c(
\"
v-icon
\"
, [_vm._v(
\"
person
\"
)]),
\n
_vm._v(
\"
เข้าสู่ระบบ / สมัครสมาชิก
\
\n
\"
)
\n
],
\n
1
\n
)
\n
],
\n
1
\n
)
\n
],
\n
1
\n
)
\n
],
\n
1
\n
),
\n
_vm._v(
\"
\"
),
\n
_c(
\n
\"
v-layout
\"
,
\n
{ attrs: { row:
\"\"
, wrap:
\"\"
, white:
\"\"
} },
\n
[
\n
_c(
\n
\"
v-flex
\"
,
\n
{ attrs: { xs12:
\"\"
, sm10:
\"\"
,
\"
offset-sm1
\"
:
\"\"
} },
\n
[
\n
_vm.page ==
\"
app
\"\n
? _c(
\n
\"
v-toolbar
\"
,
\n
{ attrs: { flat:
\"\"
, color:
\"
white
\"
} },
\n
[
\n
_c(
\"
v-toolbar-title
\"
, [
\n
_c(
\"
img
\"
, {
\n
staticClass:
\"
my-2
\"
,
\n
attrs: {
\n
src: __webpack_require__(/*! ../../../public/img/banner.png */
\"
./public/img/banner.png
\"
),
\n
width:
\"
150
\"\n
}
\n
})
\n
]),
\n
_vm._v(
\"
\"
),
\n
_c(
\"
v-spacer
\"
)
,
\n
_vm._v(
\"
\"
),
\n
_c(
\n
\"
v-btn
\"
,
\n
{
\n
staticClass:
\"
mx-0 px-0
\"
,
\n
attrs: { flat:
\"\"
, color:
\"
black
\"
}
\n
},
\n
[
\n
_c(
\"
v-icon
\"
, [_vm._v(
\"
home
\"
)]),
\n
_vm._v(
\"
\"
),
\n
_c(
\n
\"
span
\"
,
\n
{ staticClass:
\"
body-2 font-weight-bold
\"
},
\n
[_vm._v(
\"
หน้าหลัก
\"
)]
\n
)
\n
],
\n
1
\n
),
\n
_vm._v(
\"
\"
),
\n
_c(
\n
\"
v-btn
\"
,
\n
{
\n
staticClass:
\"
mx-0 px-0 body-2 font-weight-bold
\"
,
\n
attrs: { flat:
\"\"
, color:
\"
black
\"
}
\n
},
\n
[
\n
_c(
\n
\"
span
\"
,
\n
{ staticClass:
\"
body-2 font-weight-bold
\"
},
\n
[_vm._v(
\"
เกี่ยวกับเรา
\"
)]
\n
)
\n
]
\n
),
\n
_vm._v(
\"
\"
),
\n
_c(
\n
\"
v-btn
\"
,
\n
{
\n
staticClass:
\"
mx-0 px-0 body-2 font-weight-bold
\"
,
\n
attrs: { flat:
\"\"
, color:
\"
black
\"
}
\n
},
\n
[
\n
_c(
\n
\"
span
\"
,
\n
{ staticClass:
\"
body-2 font-weight-bold
\"
},
\n
[_vm._v(
\"
เกี่ยวกับเรา
\"
)]
\n
)
\n
]
\n
),
\n
_vm._v(
\"
\"
),
\n
_c(
\n
\"
v-btn
\"
,
\n
{
\n
staticClass:
\"
mx-0 px-0 body-2 font-weight-bold
\"
,
\n
attrs: { flat:
\"\"
, color:
\"
black
\"
}
\n
},
\n
[
\n
_c(
\n
\"
span
\"
,
\n
{ staticClass:
\"
body-2 font-weight-bold
\"
},
\n
[_vm._v(
\"
เกี่ยวกับเรา
\"
)]
\n
)
\n
]
\n
),
\n
_vm._v(
\"
\"
),
\n
_c(
\n
\"
v-btn
\"
,
\n
{
\n
staticClass:
\"
mx-0 px-0 body-2 font-weight-bold
\"
,
\n
attrs: { flat:
\"\"
, color:
\"
black
\"
}
\n
},
\n
[
\n
_c(
\n
\"
span
\"
,
\n
{ staticClass:
\"
body-2 font-weight-bold
\"
},
\n
[_vm._v(
\"
เกี่ยวกับเรา
\"
)]
\n
)
\n
]
\n
),
\n
_vm._v(
\"
\"
),
\n
_c(
\n
\"
v-btn
\"
,
\n
{
\n
staticClass:
\"
mx-0 px-0 body-2 font-weight-bold
\"
,
\n
attrs: { flat:
\"\"
, color:
\"
black
\"
}
\n
},
\n
[
\n
_c(
\n
\"
span
\"
,
\n
{ staticClass:
\"
body-2 font-weight-bold
\"
},
\n
[_vm._v(
\"
เกี่ยวกับเรา
\"
)]
\n
)
\n
]
\n
),
\n
_vm._v(
\"
\"
),
\n
_c(
\n
\"
v-btn
\"
,
\n
{
\n
staticClass:
\"
mx-0 px-0 body-2 font-weight-bold
\"
,
\n
attrs: { flat:
\"\"
, color:
\"
black
\"
}
\n
},
\n
[
\n
_c(
\n
\"
span
\"
,
\n
{ staticClass:
\"
body-2 font-weight-bold
\"
},
\n
[_vm._v(
\"
เกี่ยวกับเรา
\"
)]
\n
)
\n
]
\n
)
\n
],
\n
1
\n
)
\n
: _vm._e()
\n
],
\n
1
\n
)
\n
],
\n
1
\n
)
\n
],
\n
1
\n
)
\n
}
\n
var staticRenderFns = []
\n
render._withStripped = true
\n\n
//# sourceURL=[module]
\n
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9yZXNvdXJjZXMvanMvY29tcG9uZW50cy9Ub29sYmFyLnZ1ZT8yNTVlIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBLFNBQVMsU0FBUywrQkFBK0IsRUFBRTtBQUNuRDtBQUNBO0FBQ0E7QUFDQSxhQUFhLFNBQVMsdUNBQXVDLEVBQUU7QUFDL0Q7QUFDQTtBQUNBO0FBQ0EsaUJBQWlCLFNBQVMseUNBQX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2xiYXIudnVlP3Z1ZSZ0eXBlPXRlbXBsYXRlJmlkPTQzYjg3ZjYwJi5qcyIsInNvdXJjZXNDb250ZW50IjpbInZhciByZW5kZXIgPSBmdW5jdGlvbigpIHtcbiAgdmFyIF92bSA9IHRoaXNcbiAgdmFyIF9oID0gX3ZtLiRjcmVhdGVFbGVtZW50XG4gIHZhciBfYyA9IF92bS5fc2VsZi5fYyB8fCBfaFxuICByZXR1cm4gX2MoXG4gICAgXCJkaXZcIixcbiAgICBbXG4gICAgICBfYyhcbiAgICAgICAgXCJ2LWxheW91dFwiLFxuICAgICAgICB7IGF0dHJzOiB7IHJvdzogXCJcIiwgd3JhcDogXCJcIiwgd2hpdGU6IFwiXCIgfSB9LFxuICAgICAgICBbXG4gICAgICAgICAgX2MoXG4gICAgICAgICAgICBcInYtZmxleFwiLFxuICAgICAgICAgICAgeyBhdHRyczogeyB4czEyOiBcIlwiLCBzbTEwOiBcIlwiLCBcIm9mZnNldC1zbTFcIjogXCJcIiB9IH0sXG4gICAgICAgICAgICBbXG4gICAgICAgICAgICAgIF9jKFxuICAgICAgICAgICAgICAgIFwidi10b29sYmFyXCIsXG4gICAgICAgICAgICAgICAgeyBhdHRyczogeyBmbGF0OiBcIlwiLCBjb2xvcjogXCJ3aGl0ZVwiLCBoZWlnaHQ6IFwiNDBcIiB9IH0sXG4gICAgICAgICAgICAgICAgW1xuICAgICAgICAgICAgICAgICAgX2MoXCJ2LXNwYWNlclwiKSxcbiAgICAgICAgICAgICAgICAgIF92bS5fdihcIiBcIiksXG4gICAgICAgICAgICAgICAgICBfYyhcbiAgICAgICAgICAgICAgICAgICAgXCJ2LWJ0blwiLFxuICAgICAgICAgICAgICAgICAgICB7XG4gICAgICAgICAgICAgICAgICAgICAgc3RhdGljQ2xhc3M6IFwiZWxldmF0aW9uLTBcIixcbiAgICAgICAgICAgICAgICAgICAgICBhdHRyczoge1xuICAgICAgICAgICAgICAgICAgICAgICAgc21hbGw6IFwiXCIsXG4gICAgICAgICAgICAgICAgICAgICAgICBkYXJrOiBcIlwiLFxuICAgICAgICAgICAgICAgICAgICAgICAgY29sb3I6IFwiZGVlcC1vcmFuZ2UgZGFya2VuLTRcIlxuICAgICAgICAgICAgICAgICAgICAgIH0sXG4gICAgICAgICAgICAgICAgICAgICAgb246IHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGNsaWNrOiBmdW5jdGlvbigkZXZlbnQpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIF92bS4kcm91dGVyLnB1c2goXCIvZW1wbG95ZXIvbG9naW5cIilcbiAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgIH0sXG4gICAgICAgICAgICAgICAgICAgIFtfdm0uX3YoXCLguKrguLPguKvguKPguLHguJrguJzguLnguYnguJvguKPguLDguIHguK3guJrguIHguLLguKNcIildXG4gICAgICAgICAgICAgICAgICApLFxuICAgICAgICAgICAgICAgICAgX3ZtLl92KFwiIFwiKSxcbiAgICAgICAgICAgICAgICAgIF9jKFwidi1kaXZpZGVyXCIsIHsgYXR0cnM6IHsgaW5zZXQ6IFwiXCIsIHZlcnRpY2FsOiBcIlwiIH0gfSksXG4gICAgICAgICAgICAgICAgICBfdm0uX3YoXCIgXCIpLFxuICAgICAgICAgICAgICAgICAgX2MoXG4gICAgICAgICAgICAgICAgICAgIFwidi1idG5cIixcbiAgICAgICAgICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgICAgICAgIGF0dHJzOiB7XG4gICAgICAgICAgICAgICAgICAgICAgICByb3VuZDogXCJcIixcbiAgICAgICAgICAgICAgICAgICAgICAgIHNtYWxsOiBcIlwiLFxuICAgICAgICAgICAgICAgICAgICAgICAgb3V0bGluZTogXCJcIixcbiAgICAgICAgICAgICAgICAgICAgICAgIGNvbG9yOiBcImRlZXAtb3JhbmdlIGRhcmtlbi00XCJcbiAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgIH0sXG4gICAgICAgICAgICAgICAgICAgIFtcbiAgICAgICAgICAgICAgICAgICAgICBfYyhcInYtaWNvblwiLCBbX3ZtLl92KFwicGVyc29uXCIpXSksXG4gICAgICAgICAgICAgICAgICAgICAgX3ZtLl92KFwiIOC5gOC4guC5ieC4suC4quC4ueC5iOC4o+C4sOC4muC4miAvIOC4quC4oeC4seC4hOC4o+C4quC4oeC4suC4iuC4tOC4gVxcbiAgICAgICAgXCIpXG4gICAgICAgICAgICAgICAgICAgIF0sXG4gICAgICAgICAgICAgICAgICAgIDFcbiAgICAgICAgICAgICAgICAgIClcbiAgICAgICAgICAgICAgICBdLFxuICAgICAgICAgICAgICAgIDFcbiAgICAgICAgICAgICAgKVxuICAgICAgICAgICAgXSxcbiAgICAgICAgICAgIDFcbiAgICAgICAgICApXG4gICAgICAgIF0sXG4gICAgICAgIDFcbiAgICAgICksXG4gICAgICBfdm0uX3YoXCIgXCIpLFxuICAgICAgX2MoXG4gICAgICAgIFwidi1sYXlvdXRcIixcbiAgICAgICAgeyBhdHRyczogeyByb3c6IFwiXCIsIHdyYXA6IFwiXCIsIHdoaXRlOiBcIlwiIH0gfSxcbiAgICAgICAgW1xuICAgICAgICAgIF9jKFxuICAgICAgICAgICAgXCJ2LWZsZXhcIixcbiAgICAgICAgICAgIHsgYXR0cnM6IHsgeHMxMjogXCJcIiwgc20xMDogXCJcIiwgXCJvZmZzZXQtc20xXCI6IFwiXCIgfSB9LFxuICAgICAgICAgICAgW1xuICAgICAgICAgICAgICBfdm0ucGFnZSA9PSBcImFwcFwiXG4gICAgICAgICAgICAgICAgPyBfYyhcbiAgICAgICAgICAgICAgICAgICAgXCJ2LXRvb2xiYXJcIixcbiAgICAgICAgICAgICAgICAgICAgeyBhdHRyczogeyBmbGF0OiBcIlwiLCBjb2xvcjogXCJ3aGl0ZVwiIH0gfSxcbiAgICAgICAgICAgICAgICAgICAgW1xuICAgICAgICAgICAgICAgICAgICAgIF9jKFwidi10b29sYmFyLXRpdGxlXCIsIFtcbiAgICAgICAgICAgICAgICAgICAgICAgIF9jKFwiaW1nXCIsIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgc3RhdGljQ2xhc3M6IFwibXktMlwiLFxuICAgICAgICAgICAgICAgICAgICAgICAgICBhdHRyczoge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHNyYzogcmVxdWlyZShcIi4uLy4uLy4uL3B1YmxpYy9pbWcvYmFubmVyLnBuZ1wiKSxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB3aWR0aDogXCIxNTBcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICB9KVxuICAgICAgICAgICAgICAgICAgICAgIF0pLFxuICAgICAgICAgICAgICAgICAgICAgIF92bS5fdihcIiBcIiksXG4gICAgICAgICAgICAgICAgICAgICAgX2MoXCJ2LXNwYWNlclwiKSxcbiAgICAgICAgICAgICAgICAgICAgICBfdm0uX3YoXCIgXCIpLFxuICAgICAgICAgICAgICAgICAgICAgIF9jKFxuICAgICAgICAgICAgICAgICAgICAgICAgXCJ2LWJ0blwiLFxuICAgICAgICAgICAgICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgICAgICAgICAgICBzdGF0aWNDbGFzczogXCJteC0wIHB4LTBcIixcbiAgICAgICAgICAgICAgICAgICAgICAgICAgYXR0cnM6IHsgZmxhdDogXCJcIiwgY29sb3I6IFwiYmxhY2tcIiB9XG4gICAgICAgICAgICAgICAgICAgICAgICB9LFxuICAgICAgICAgICAgICAgICAgICAgICAgW1xuICAgICAgICAgICAgICAgICAgICAgICAgICBfYyhcInYtaWNvblwiLCBbX3ZtLl92KFwiaG9tZVwiKV0pLFxuICAgICAgICAgICAgICAgICAgICAgICAgICBfdm0uX3YoXCIgXCIpLFxuICAgICAgICAgICAgICAgICAgICAgICAgICBfYyhcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBcInNwYW5cIixcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB7IHN0YXRpY0NsYXNzOiBcImJvZHktMiBmb250LXdlaWdodC1ib2xkXCIgfSxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBbX3ZtLl92KFwi4Lir4LiZ4LmJ4Liy4Lir4Lil4Lix4LiBXCIpXVxuICAgICAgICAgICAgICAgICAgICAgICAgICApXG4gICAgICAgICAgICAgICAgICAgICAgICBdLFxuICAgICAgICAgICAgICAgICAgICAgICAgMVxuICAgICAgICAgICAgICAgICAgICAgICksXG4gICAgICAgICAgICAgICAgICAgICAgX3ZtLl92KFwiIFwiKSxcbiAgICAgICAgICAgICAgICAgICAgICBfYyhcbiAgICAgICAgICAgICAgICAgICAgICAgIFwidi1idG5cIixcbiAgICAgICAgICAgICAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgc3RhdGljQ2xhc3M6IFwibXgtMCBweC0wIGJvZHktMiBmb250LXdlaWdodC1ib2xkXCIsXG4gICAgICAgICAgICAgICAgICAgICAgICAgIGF0dHJzOiB7IGZsYXQ6IFwiXCIsIGNvbG9yOiBcImJsYWNrXCIgfVxuICAgICAgICAgICAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgICAgICAgICAgICAgIFtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgX2MoXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgXCJzcGFuXCIsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgeyBzdGF0aWNDbGFzczogXCJib2R5LTIgZm9udC13ZWlnaHQtYm9sZFwiIH0sXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgW192bS5fdihcIuC5gOC4geC4teC5iOC4ouC4p+C4geC4seC4muC5gOC4o+C4slwiKV1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgKVxuICAgICAgICAgICAgICAgICAgICAgICAgXVxuICAgICAgICAgICAgICAgICAgICAgICksXG4gICAgICAgICAgICAgICAgICAgICAgX3ZtLl92KFwiIFwiKSxcbiAgICAgICAgICAgICAgICAgICAgICBfYyhcbiAgICAgICAgICAgICAgICAgICAgICAgIFwidi1idG5cIixcbiAgICAgICAgICAgICAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgc3RhdGljQ2xhc3M6IFwibXgtMCBweC0wIGJvZHktMiBmb250LXdlaWdodC1ib2xkXCIsXG4gICAgICAgICAgICAgICAgICAgICAgICAgIGF0dHJzOiB7IGZsYXQ6IFwiXCIsIGNvbG9yOiBcImJsYWNrXCIgfVxuICAgICAgICAgICAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgICAgICAgICAgICAgIFtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgX2MoXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgXCJzcGFuXCIsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgeyBzdGF0aWNDbGFzczogXCJib2R5LTIgZm9udC13ZWlnaHQtYm9sZFwiIH0sXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgW192bS5fdihcIuC5gOC4geC4teC5iOC4ouC4p+C4geC4seC4muC5gOC4o+C4slwiKV1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgKVxuICAgICAgICAgICAgICAgICAgICAgICAgXVxuICAgICAgICAgICAgICAgICAgICAgICksXG4gICAgICAgICAgICAgICAgICAgICAgX3ZtLl92KFwiIFwiKSxcbiAgICAgICAgICAgICAgICAgICAgICBfYyhcbiAgICAgICAgICAgICAgICAgICAgICAgIFwidi1idG5cIixcbiAgICAgICAgICAgICAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgc3RhdGljQ2xhc3M6IFwibXgtMCBweC0wIGJvZHktMiBmb250LXdlaWdodC1ib2xkXCIsXG4gICAgICAgICAgICAgICAgICAgICAgICAgIGF0dHJzOiB7IGZsYXQ6IFwiXCIsIGNvbG9yOiBcImJsYWNrXCIgfVxuICAgICAgICAgICAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgICAgICAgICAgICAgIFtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgX2MoXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgXCJzcGFuXCIsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgeyBzdGF0aWNDbGFzczogXCJib2R5LTIgZm9udC13ZWlnaHQtYm9sZFwiIH0sXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgW192bS5fdihcIuC5gOC4geC4teC5iOC4ouC4p+C4geC4seC4muC5gOC4o+C4slwiKV1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgKVxuICAgICAgICAgICAgICAgICAgICAgICAgXVxuICAgICAgICAgICAgICAgICAgICAgICksXG4gICAgICAgICAgICAgICAgICAgICAgX3ZtLl92KFwiIFwiKSxcbiAgICAgICAgICAgICAgICAgICAgICBfYyhcbiAgICAgICAgICAgICAgICAgICAgICAgIFwidi1idG5cIixcbiAgICAgICAgICAgICAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgc3RhdGljQ2xhc3M6IFwibXgtMCBweC0wIGJvZHktMiBmb250LXdlaWdodC1ib2xkXCIsXG4gICAgICAgICAgICAgICAgICAgICAgICAgIGF0dHJzOiB7IGZsYXQ6IFwiXCIsIGNvbG9yOiBcImJsYWNrXCIgfVxuICAgICAgICAgICAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgICAgICAgICAgICAgIFtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgX2MoXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgXCJzcGFuXCIsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgeyBzdGF0aWNDbGFzczogXCJib2R5LTIgZm9udC13ZWlnaHQtYm9sZFwiIH0sXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgW192bS5fdihcIuC5gOC4geC4teC5iOC4ouC4p+C4geC4seC4muC5gOC4o+C4slwiKV1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgKVxuICAgICAgICAgICAgICAgICAgICAgICAgXVxuICAgICAgICAgICAgICAgICAgICAgICksXG4gICAgICAgICAgICAgICAgICAgICAgX3ZtLl92KFwiIFwiKSxcbiAgICAgICAgICAgICAgICAgICAgICBfYyhcbiAgICAgICAgICAgICAgICAgICAgICAgIFwidi1idG5cIixcbiAgICAgICAgICAgICAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgc3RhdGljQ2xhc3M6IFwibXgtMCBweC0wIGJvZHktMiBmb250LXdlaWdodC1ib2xkXCIsXG4gICAgICAgICAgICAgICAgICAgICAgICAgIGF0dHJzOiB7IGZsYXQ6IFwiXCIsIGNvbG9yOiBcImJsYWNrXCIgfVxuICAgICAgICAgICAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgICAgICAgICAgICAgIFtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgX2MoXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgXCJzcGFuXCIsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgeyBzdGF0aWNDbGFzczogXCJib2R5LTIgZm9udC13ZWlnaHQtYm9sZFwiIH0sXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgW192bS5fdihcIuC5gOC4geC4teC5iOC4ouC4p+C4geC4seC4muC5gOC4o+C4slwiKV1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgKVxuICAgICAgICAgICAgICAgICAgICAgICAgXVxuICAgICAgICAgICAgICAgICAgICAgICksXG4gICAgICAgICAgICAgICAgICAgICAgX3ZtLl92KFwiIFwiKSxcbiAgICAgICAgICAgICAgICAgICAgICBfYyhcbiAgICAgICAgICAgICAgICAgICAgICAgIFwidi1idG5cIixcbiAgICAgICAgICAgICAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgc3RhdGljQ2xhc3M6IFwibXgtMCBweC0wIGJvZHktMiBmb250LXdlaWdodC1ib2xkXCIsXG4gICAgICAgICAgICAgICAgICAgICAgICAgIGF0dHJzOiB7IGZsYXQ6IFwiXCIsIGNvbG9yOiBcImJsYWNrXCIgfVxuICAgICAgICAgICAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgICAgICAgICAgICAgIFtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgX2MoXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgXCJzcGFuXCIsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgeyBzdGF0aWNDbGFzczogXCJib2R5LTIgZm9udC13ZWlnaHQtYm9sZFwiIH0sXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgW192bS5fdihcIuC5gOC4geC4teC5iOC4ouC4p+C4geC4seC4muC5gOC4o+C4slwiKV1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgKVxuICAgICAgICAgICAgICAgICAgICAgICAgXVxuICAgICAgICAgICAgICAgICAgICAgIClcbiAgICAgICAgICAgICAgICAgICAgXSxcbiAgICAgICAgICAgICAgICAgICAgMVxuICAgICAgICAgICAgICAgICAgKVxuICAgICAgICAgICAgICAgIDogX3ZtLl9lKClcbiAgICAgICAgICAgIF0sXG4gICAgICAgICAgICAxXG4gICAgICAgICAgKVxuICAgICAgICBdLFxuICAgICAgICAxXG4gICAgICApXG4gICAgXSxcbiAgICAxXG4gIClcbn1cbnZhciBzdGF0aWNSZW5kZXJGbnMgPSBbXVxucmVuZGVyLl93aXRoU3RyaXBwZWQgPSB0cnVlXG5cbmV4cG9ydCB7IHJlbmRlciwgc3RhdGljUmVuZGVyRm5zIH0iXSwic291cmNlUm9vdCI6IiJ9
\n
//# sourceURL=webpack-internal:///./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/components/Toolbar.vue?vue&type=template&id=43b87f60&
\n
"
);
/***/
}),
/***/
}),
resources/js/components/Toolbar.vue
View file @
ffea59ad
...
@@ -19,7 +19,28 @@
...
@@ -19,7 +19,28 @@
<img
src=
"../../../public/img/banner.png"
class=
"my-2"
width=
"150"
>
<img
src=
"../../../public/img/banner.png"
class=
"my-2"
width=
"150"
>
</v-toolbar-title>
</v-toolbar-title>
<v-spacer></v-spacer>
<v-spacer></v-spacer>
<v-btn
flat
color=
"black"
class=
"mx-0 px-0"
>
<v-icon>
home
</v-icon>
<span
class=
"body-2 font-weight-bold"
>
หน้าหลัก
</span>
</v-btn>
<v-btn
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
<v-btn
flat
color=
"black"
class=
"mx-0 px-0 body-2 font-weight-bold"
>
<span
class=
"body-2 font-weight-bold"
>
เกี่ยวกับเรา
</span>
</v-btn>
</v-toolbar>
</v-toolbar>
</v-flex>
</v-flex>
</v-layout>
</v-layout>
...
...
routes/api.php
View file @
ffea59ad
...
@@ -13,6 +13,8 @@ use Illuminate\Http\Request;
...
@@ -13,6 +13,8 @@ use Illuminate\Http\Request;
|
|
*/
*/
Route
::
middleware
(
'auth:api'
)
->
get
(
'/user'
,
function
(
Request
$request
)
{
Route
::
group
([
'prefix'
=>
'auth'
],
function
(
$router
)
{
return
$request
->
user
();
Route
::
post
(
'register'
,
'AuthController@register'
);
});
Route
::
post
(
'login'
,
'AuthController@login'
);
Route
::
post
(
'current'
,
'AuthController@getAuthenticatedUser'
);
});
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment