From 55f1af040e2243681eb076b7857129e3792dac0d Mon Sep 17 00:00:00 2001 From: Juan Ferrer Toribio Date: Mon, 24 Apr 2017 10:06:50 +0200 Subject: [PATCH] Webpack 2, logo png, errores solucionados --- debian/changelog | 2 +- image/logo.png | Bin 0 -> 8577 bytes rest/core/recover-password.php | 6 +++--- webpack.config.js | 21 +++++++++++---------- 4 files changed, 15 insertions(+), 14 deletions(-) create mode 100644 image/logo.png diff --git a/debian/changelog b/debian/changelog index 2b4f9f6a..10f4b113 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -hedera-web (1.391-deb8) stable; urgency=low +hedera-web (1.392-deb8) stable; urgency=low * Initial Release. diff --git a/image/logo.png b/image/logo.png new file mode 100644 index 0000000000000000000000000000000000000000..55e26fec6d6a2abff506862b1f851e1554f603c6 GIT binary patch literal 8577 zcmV-{A%5P8P)KLZ*U+IBfRsybQWXdwQbLP>6pAqfylh#{fb6;Z(vMMVS~$e@S=j*ftg6;Uhf59&ghTmgWD0l;*T zI709Y^p6lP1rIRMx#05C~cW=H_Aw*bJ-5DT&Z2n+x)QHX^p z00esgV8|mQcmRZ%02D^@S3L16t`O%c004NIvOKvYIYoh62rY33S640`D9%Y2D-rV&neh&#Q1i z007~1e$oCcFS8neI|hJl{-P!B1ZZ9hpmq0)X0i`JwE&>$+E?>%_LC6RbVIkUx0b+_+BaR3cnT7Zv!AJxW zizFb)h!jyGOOZ85F;a?DAXP{m@;!0_IfqH8(HlgRxt7s3}k3K`kFu>>-2Q$QMFfPW!La{h336o>X zu_CMttHv6zR;&ZNiS=X8v3CR#fknUxHUxJ0uoBa_M6WNWeqIg~6QE69c9o#eyhGvpiOA@W-aonk<7r1(?fC{oI5N*U!4 zfg=2N-7=cNnjjOr{yriy6mMFgG#l znCF=fnQv8CDz++o6_Lscl}eQ+l^ZHARH>?_s@|##Rr6KLRFA1%Q+=*RRWnoLsR`7U zt5vFIcfW3@?wFpwUVxrVZ>QdQz32KIeJ}k~{cZZ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CPl$SOe#-nQ3&dV7r&4Vb%WBcHAPIv4r1aaM4MZIe=y97 z?%x24g+Bc;iL`kx`g|#ya@Of{#h~~;VU|Mservice; - $token = $service->createToken ($_REQUEST['user'], FALSE, TRUE); + $token = $service->createToken ($_REQUEST['recoverUser'], FALSE, TRUE); $url = $service->getUrl () ."#!form=account/conf&token=$token"; $report = new Vn\Web\Report ($db, 'recover-password', ['url' => $url]); diff --git a/webpack.config.js b/webpack.config.js index a6168619..a408ead8 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -13,19 +13,20 @@ var config = { publicPath: 'build/' }, module: { - loaders: [ - { test: /\.css$/, loader: 'style!css' }, - { test: /\.json$/, loader: 'json' }, - { test: /\.xml$/, loader: 'raw' }, - { test: /\.ttf$/, loader: 'file' } + rules: [ + { test: /\.css$/, loader: 'style-loader!css-loader' }, + { test: /\.json$/, loader: 'json-loader' }, + { test: /\.xml$/, loader: 'raw-loader' }, + { test: /\.ttf$/, loader: 'file-loader' } ] }, resolve: { - modulesDirectories: [__dirname +'/js', __dirname, 'node_modules'], - fallback: process.env.NODE_PATH, - }, - resolveLoader: { - fallback: process.env.NODE_PATH + modules: [ + __dirname +'/js', + __dirname, + 'node_modules', + '/usr/lib/node_modules' + ] }, plugins: [ new webpack.DefinePlugin ({ _DEV_MODE: devMode })